package com.design.cjm.behavioral.interpreter.example1;

/**
 * @Author: Jie Ming Chen
 * @Date: 2018/9/26
 * @Version 1.0
 */
public class Note extends Expression{
    @Override
    public void excute(String key, double value) {

        String note = "";

        switch (key) {

            case "C":
                note = "1";
                break;
            case "D":
                note = "2";
                break;
            default:

        }

    }
}
